summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer/behavior/info_updater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_core/renderer/behavior/info_updater.cpp')
-rw-r--r--src/audio_core/renderer/behavior/info_updater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/renderer/behavior/info_updater.cpp b/src/audio_core/renderer/behavior/info_updater.cpp
index c0a307b89..574cf0982 100644
--- a/src/audio_core/renderer/behavior/info_updater.cpp
+++ b/src/audio_core/renderer/behavior/info_updater.cpp
@@ -91,7 +91,7 @@ Result InfoUpdater::UpdateVoices(VoiceContext& voice_context,
voice_info.Initialize();
for (u32 channel = 0; channel < in_param.channel_count; channel++) {
- std::memset(voice_states[channel], 0, sizeof(VoiceState));
+ *voice_states[channel] = {};
}
}